package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_ActualLogisticsMethod", catalog="Id")
public class TccActualLogisticsMethod extends BaseEntity<TccActualLogisticsMethod> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="LogsticsWayId", nameJava="logsticsWayId", typeDataBase="bigint")
	private Long logsticsWayId;
	@YsField(nameDataBase="LogsticsWay", nameJava="logsticsWay", typeDataBase="varchar")
	private String logsticsWay;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="Vck", nameJava="vck", typeDataBase="varchar")
	private String vck;
	@YsField(nameDataBase="TransportationId", nameJava="transportationId", typeDataBase="bigint")
	private Long transportationId;
	@YsField(nameDataBase="TransportationCn", nameJava="transportationCn", typeDataBase="varchar")
	private String transportationCn;
	@YsField(nameDataBase="TransportationEn", nameJava="transportationEn", typeDataBase="varchar")
	private String transportationEn;
	@YsField(nameDataBase="EstimatedDay", nameJava="estimatedDay", typeDataBase="int")
	private Integer estimatedDay;
	@YsField(nameDataBase="NameLogsticsClearance", nameJava="nameLogsticsClearance", typeDataBase="tinyint")
	private Integer nameLogsticsClearance;
	@YsField(nameDataBase="StateShareTicket", nameJava="stateShareTicket", typeDataBase="tinyint")
	private Integer stateShareTicket;
	@YsField(nameDataBase="CoefficientWeight", nameJava="coefficientWeight", typeDataBase="int")
	private Integer coefficientWeight;
	@YsField(nameDataBase="SinglePassCrane", nameJava="singlePassCrane", typeDataBase="decimal")
	private BigDecimal singlePassCrane;
	@YsField(nameDataBase="WeightCalBySingle", nameJava="weightCalBySingle", typeDataBase="decimal")
	private BigDecimal weightCalBySingle;
	@YsField(nameDataBase="SingleBoxReqAmountMin", nameJava="singleBoxReqAmountMin", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMin;
	@YsField(nameDataBase="SingleBoxReqAmountMax", nameJava="singleBoxReqAmountMax", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMax;
	@YsField(nameDataBase="ClearanceOpeAmount", nameJava="clearanceOpeAmount", typeDataBase="decimal")
	private BigDecimal clearanceOpeAmount;
	@YsField(nameDataBase="FreeProNameNum", nameJava="freeProNameNum", typeDataBase="int")
	private Integer freeProNameNum;
	@YsField(nameDataBase="MaxProNameNum", nameJava="maxProNameNum", typeDataBase="int")
	private Integer maxProNameNum;
	@YsField(nameDataBase="AdditionalStandardAmount", nameJava="additionalStandardAmount", typeDataBase="decimal")
	private BigDecimal additionalStandardAmount;
	@YsField(nameDataBase="DivisionalRule", nameJava="divisionalRule", typeDataBase="tinyint")
	private Integer divisionalRule;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="JfStart", nameJava="jfStart", typeDataBase="decimal")
	private BigDecimal jfStart;
	@YsField(nameDataBase="JfEnd", nameJava="jfEnd", typeDataBase="decimal")
	private BigDecimal jfEnd;
	@YsField(nameDataBase="JfFee", nameJava="jfFee", typeDataBase="decimal")
	private BigDecimal jfFee;
	@YsField(nameDataBase="CzCn", nameJava="czCn", typeDataBase="varchar")
	private String czCn;
	@YsField(nameDataBase="CzEn", nameJava="czEn", typeDataBase="varchar")
	private String czEn;
	@YsField(nameDataBase="CzFee", nameJava="czFee", typeDataBase="decimal")
	private BigDecimal czFee;
	@YsField(nameDataBase="PzStart", nameJava="pzStart", typeDataBase="decimal")
	private BigDecimal pzStart;
	@YsField(nameDataBase="PzEnd", nameJava="pzEnd", typeDataBase="decimal")
	private BigDecimal pzEnd;
	@YsField(nameDataBase="PzFee", nameJava="pzFee", typeDataBase="decimal")
	private BigDecimal pzFee;
	@YsField(nameDataBase="SourceType", nameJava="sourceType", typeDataBase="tinyint")
	private Integer sourceType;
	@YsField(nameDataBase="SourceBid", nameJava="sourceBid", typeDataBase="varchar")
	private String sourceBid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccActualLogisticsMethod setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getLogsticsWayId() {
		return logsticsWayId;
	}
	public TccActualLogisticsMethod setLogsticsWayId(Long logsticsWayId) {
		this.logsticsWayId = logsticsWayId;
		return this;
	}
	public String getLogsticsWay() {
		return logsticsWay;
	}
	public TccActualLogisticsMethod setLogsticsWay(String logsticsWay) {
		this.logsticsWay = logsticsWay;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccActualLogisticsMethod setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public String getVck() {
		return vck;
	}
	public TccActualLogisticsMethod setVck(String vck) {
		this.vck = vck;
		return this;
	}
	public Long getTransportationId() {
		return transportationId;
	}
	public TccActualLogisticsMethod setTransportationId(Long transportationId) {
		this.transportationId = transportationId;
		return this;
	}
	public String getTransportationCn() {
		return transportationCn;
	}
	public TccActualLogisticsMethod setTransportationCn(String transportationCn) {
		this.transportationCn = transportationCn;
		return this;
	}
	public String getTransportationEn() {
		return transportationEn;
	}
	public TccActualLogisticsMethod setTransportationEn(String transportationEn) {
		this.transportationEn = transportationEn;
		return this;
	}
	public Integer getEstimatedDay() {
		return estimatedDay;
	}
	public TccActualLogisticsMethod setEstimatedDay(Integer estimatedDay) {
		this.estimatedDay = estimatedDay;
		return this;
	}
	public Integer getNameLogsticsClearance() {
		return nameLogsticsClearance;
	}
	public TccActualLogisticsMethod setNameLogsticsClearance(Integer nameLogsticsClearance) {
		this.nameLogsticsClearance = nameLogsticsClearance;
		return this;
	}
	public Integer getStateShareTicket() {
		return stateShareTicket;
	}
	public TccActualLogisticsMethod setStateShareTicket(Integer stateShareTicket) {
		this.stateShareTicket = stateShareTicket;
		return this;
	}
	public Integer getCoefficientWeight() {
		return coefficientWeight;
	}
	public TccActualLogisticsMethod setCoefficientWeight(Integer coefficientWeight) {
		this.coefficientWeight = coefficientWeight;
		return this;
	}
	public BigDecimal getSinglePassCrane() {
		return singlePassCrane;
	}
	public TccActualLogisticsMethod setSinglePassCrane(BigDecimal singlePassCrane) {
		this.singlePassCrane = singlePassCrane;
		return this;
	}
	public BigDecimal getWeightCalBySingle() {
		return weightCalBySingle;
	}
	public TccActualLogisticsMethod setWeightCalBySingle(BigDecimal weightCalBySingle) {
		this.weightCalBySingle = weightCalBySingle;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMin() {
		return singleBoxReqAmountMin;
	}
	public TccActualLogisticsMethod setSingleBoxReqAmountMin(BigDecimal singleBoxReqAmountMin) {
		this.singleBoxReqAmountMin = singleBoxReqAmountMin;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMax() {
		return singleBoxReqAmountMax;
	}
	public TccActualLogisticsMethod setSingleBoxReqAmountMax(BigDecimal singleBoxReqAmountMax) {
		this.singleBoxReqAmountMax = singleBoxReqAmountMax;
		return this;
	}
	public BigDecimal getClearanceOpeAmount() {
		return clearanceOpeAmount;
	}
	public TccActualLogisticsMethod setClearanceOpeAmount(BigDecimal clearanceOpeAmount) {
		this.clearanceOpeAmount = clearanceOpeAmount;
		return this;
	}
	public Integer getFreeProNameNum() {
		return freeProNameNum;
	}
	public TccActualLogisticsMethod setFreeProNameNum(Integer freeProNameNum) {
		this.freeProNameNum = freeProNameNum;
		return this;
	}
	public Integer getMaxProNameNum() {
		return maxProNameNum;
	}
	public TccActualLogisticsMethod setMaxProNameNum(Integer maxProNameNum) {
		this.maxProNameNum = maxProNameNum;
		return this;
	}
	public BigDecimal getAdditionalStandardAmount() {
		return additionalStandardAmount;
	}
	public TccActualLogisticsMethod setAdditionalStandardAmount(BigDecimal additionalStandardAmount) {
		this.additionalStandardAmount = additionalStandardAmount;
		return this;
	}
	public Integer getDivisionalRule() {
		return divisionalRule;
	}
	public TccActualLogisticsMethod setDivisionalRule(Integer divisionalRule) {
		this.divisionalRule = divisionalRule;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccActualLogisticsMethod setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public BigDecimal getJfStart() {
		return jfStart;
	}
	public TccActualLogisticsMethod setJfStart(BigDecimal jfStart) {
		this.jfStart = jfStart;
		return this;
	}
	public BigDecimal getJfEnd() {
		return jfEnd;
	}
	public TccActualLogisticsMethod setJfEnd(BigDecimal jfEnd) {
		this.jfEnd = jfEnd;
		return this;
	}
	public BigDecimal getJfFee() {
		return jfFee;
	}
	public TccActualLogisticsMethod setJfFee(BigDecimal jfFee) {
		this.jfFee = jfFee;
		return this;
	}
	public String getCzCn() {
		return czCn;
	}
	public TccActualLogisticsMethod setCzCn(String czCn) {
		this.czCn = czCn;
		return this;
	}
	public String getCzEn() {
		return czEn;
	}
	public TccActualLogisticsMethod setCzEn(String czEn) {
		this.czEn = czEn;
		return this;
	}
	public BigDecimal getCzFee() {
		return czFee;
	}
	public TccActualLogisticsMethod setCzFee(BigDecimal czFee) {
		this.czFee = czFee;
		return this;
	}
	public BigDecimal getPzStart() {
		return pzStart;
	}
	public TccActualLogisticsMethod setPzStart(BigDecimal pzStart) {
		this.pzStart = pzStart;
		return this;
	}
	public BigDecimal getPzEnd() {
		return pzEnd;
	}
	public TccActualLogisticsMethod setPzEnd(BigDecimal pzEnd) {
		this.pzEnd = pzEnd;
		return this;
	}
	public BigDecimal getPzFee() {
		return pzFee;
	}
	public TccActualLogisticsMethod setPzFee(BigDecimal pzFee) {
		this.pzFee = pzFee;
		return this;
	}
	public Integer getSourceType() {
		return sourceType;
	}
	public TccActualLogisticsMethod setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
		return this;
	}
	public String getSourceBid() {
		return sourceBid;
	}
	public TccActualLogisticsMethod setSourceBid(String sourceBid) {
		this.sourceBid = sourceBid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccActualLogisticsMethod setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccActualLogisticsMethod setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccActualLogisticsMethod setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccActualLogisticsMethod tccActualLogisticsMethod(
		Long logsticsWayId,
		String logsticsWay,
		String cck,
		String vck,
		Long transportationId,
		String transportationCn,
		String transportationEn,
		Integer estimatedDay,
		Integer nameLogsticsClearance,
		Integer stateShareTicket,
		Integer coefficientWeight,
		BigDecimal singlePassCrane,
		BigDecimal weightCalBySingle,
		BigDecimal singleBoxReqAmountMin,
		BigDecimal singleBoxReqAmountMax,
		BigDecimal clearanceOpeAmount,
		Integer freeProNameNum,
		Integer maxProNameNum,
		BigDecimal additionalStandardAmount,
		Integer divisionalRule,
		String remark,
		BigDecimal jfStart,
		BigDecimal jfEnd,
		BigDecimal jfFee,
		String czCn,
		String czEn,
		BigDecimal czFee,
		BigDecimal pzStart,
		BigDecimal pzEnd,
		BigDecimal pzFee,
		Integer sourceType,
		String sourceBid,
		Integer status
			) {
		TccActualLogisticsMethod entity = new TccActualLogisticsMethod();
		entity.setLogsticsWayId(logsticsWayId);
		entity.setLogsticsWay(logsticsWay);
		entity.setCck(cck);
		entity.setVck(vck);
		entity.setTransportationId(transportationId);
		entity.setTransportationCn(transportationCn);
		entity.setTransportationEn(transportationEn);
		entity.setEstimatedDay(estimatedDay);
		entity.setNameLogsticsClearance(nameLogsticsClearance);
		entity.setStateShareTicket(stateShareTicket);
		entity.setCoefficientWeight(coefficientWeight);
		entity.setSinglePassCrane(singlePassCrane);
		entity.setWeightCalBySingle(weightCalBySingle);
		entity.setSingleBoxReqAmountMin(singleBoxReqAmountMin);
		entity.setSingleBoxReqAmountMax(singleBoxReqAmountMax);
		entity.setClearanceOpeAmount(clearanceOpeAmount);
		entity.setFreeProNameNum(freeProNameNum);
		entity.setMaxProNameNum(maxProNameNum);
		entity.setAdditionalStandardAmount(additionalStandardAmount);
		entity.setDivisionalRule(divisionalRule);
		entity.setRemark(remark);
		entity.setJfStart(jfStart);
		entity.setJfEnd(jfEnd);
		entity.setJfFee(jfFee);
		entity.setCzCn(czCn);
		entity.setCzEn(czEn);
		entity.setCzFee(czFee);
		entity.setPzStart(pzStart);
		entity.setPzEnd(pzEnd);
		entity.setPzFee(pzFee);
		entity.setSourceType(sourceType);
		entity.setSourceBid(sourceBid);
		entity.setStatus(status);
		return entity;
	}
}